<div class="post-title">
    <h2 class="align-center"><?= $this->title; ?></h2>
</div>
<?php
if (count($this->tags) > 0) {
    foreach ($this->tags as $tag) {
        echo "&nbsp;&nbsp;<a href='/tag/{$tag['tag']}'>{$tag['tag']} ({$tag['count']})</a>&nbsp;&nbsp;";
    }
}
?>